/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package object;

/**
 *
 * @author Le Thai
 */
public class NamHoc {
    private int maNh;
    private String tenNh;
    
    public NamHoc(){
    
    }
    
    public NamHoc(int manh, String tennh){
        this.maNh=manh;
        this.tenNh=tennh;
    }

    /**
     * @return the maNh
     */
    public int getMaNh() {
        return maNh;
    }

    /**
     * @param maNh the maNh to set
     */
    public void setMaNh(int maNh) {
        this.maNh = maNh;
    }

    /**
     * @return the tenNh
     */
    public String getTenNh() {
        return tenNh;
    }

    /**
     * @param tenNh the tenNh to set
     */
    public void setTenNh(String tenNh) {
        this.tenNh = tenNh;
    }
    
}
